package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.SYS_Navigation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface SYS_NavigationRepository extends JpaRepository<SYS_Navigation, String> {
    @Query(value = "select * from SYS_Navigation WHERE id =:navigationId",nativeQuery = true)
    SYS_Navigation findByNavigationId(@Param("navigationId") String navigationId);
}
